<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui" xmlns:f="http://java.sun.com/jsf/core"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:constants="http://www.tuanzi.com/constants/tags"
                template="/templates/template.xhtml">
    <ui:define name="title">进度信息编辑</ui:define>
    <ui:define name="content">
        <h:form>
            <div class="topbar clearfix"
                 style="background: -webkit-linear-gradient(top,#f6f7f9 0,#ebedf0 100%);">
                <p:toolbar>
                    <f:facet name="right">
                        <p:commandButton value="保存" icon="fa fa-save" update="@form"
                                         actionListener="#{loanNewCreditCardProgressInfoBean.save()}"/>
                        <p:commandButton value="返回" icon="fa fa-reply-all" update="@form"
                                         action="#{loanNewCreditCardProgressInfoBean.back()}"/>
                    </f:facet>
                </p:toolbar>
            </div>
            <div class="ui-fluid" style="padding-top: 30px;">
                <div class="card ui-g-12">
                    <div class="ui-g">
                        <div class="ui-g-12"><h3><b>银行进度信息</b></h3></div>
                        <div class="ui-g-2">
                            <p:outputLabel value="银行名称"/>
                        </div>
                        <div class="ui-g-4">
                            <p:inputText value="#{loanNewCreditCardProgressInfoBean.$.bankName}"
                                         disabled="#{loanNewCreditCardProgressInfoBean.isView()}"/>
                        </div>

                        <div class="ui-g-2">
                            <p:outputLabel value="跳转链接"/>
                        </div>
                        <div class="ui-g-4">
                            <p:inputText value="#{loanNewCreditCardProgressInfoBean.$.redirectUrl}"/>
                        </div>
                    </div>
                </div>
            </div>

        </h:form>
    </ui:define>
</ui:composition>
